<?php
/**
* appusercount.php
*
* Create on 2015-7-25
* Create by LL
*/
namespace haibao\app\model\data;

class AppUserCount extends Base{
	
	/**
	 * 手机系统(IOS:1,Android:2)
	 */
	const OSTYPE_IOS = 1;
	
	const OSTYPE_ANDROID = 2;
	
	const OSTYPE_ALL = 3;
	
	/**
	 * 新增用户
	 */
	public $NewUserCount;

	/**
	 * 活跃用户
	 */
	public $PositiveUserCount;
	
	/**
	 * 累计用户
	 */
	public $UserCount;
	
	/**
	 * 启动次数
	 */
	public $StartCount;
	
	/**
	 * 注册用户(含第三方)
	 */
	public $RegisterUserCount;
	
	/**
	 * 登录用户(含第三方)
	 */
	public $LoginUserCount;
	
	/**
	 * 日期
	 */
	public $DateTime;
	
	/**
	 * 手机系统
	 */
	public $OSType;
	
	/**
	 * QQ登录
	 */
	public $QQLogin;
	
	/**
	 * 微博登录
	 */
	public $WBLogin;
	
	/**
	 * 微信登录
	 */
	public $WXLogin;
	
	/**
	 * QQ注册
	 */
	public $QQReg;
	
	/**
	 * 微博注册
	 */
	public $WBReg;
	
	/**
	 * 微信注册
	 */
	public $WXReg;
	
	public function __construct(){
		parent::__construct();

		$this->stringField('NewUserCount', 'NewUserCount',false);
		$this->stringField('PositiveUserCount', 'PositiveUserCount',false);
		$this->stringField('UserCount', 'UserCount',false);
		$this->stringField('StartCount', 'StartCount',false);
		$this->intField('RegisterUserCount', 'RegisterUserCount',false);
		$this->stringField('LoginUserCount', 'LoginUserCount',false);
		$this->intField('DateTime', 'DateTime',false);
		$this->intField('OSType', 'OSType',false);
		$this->intField('QQLogin', 'QQLogin', false);
		$this->intField('WBLogin', 'WBLogin', false);
		$this->intField('WXLogin', 'WXLogin', false);
		$this->intField('QQReg', 'QQReg', false);
		$this->intField('WBReg', 'WBReg', false);
		$this->intField('WXReg', 'WXReg', false);
	
		$this->setTableName('AppUserCount');
	}
}